module.exports = {

  /**
   * 操作日志
   */
  operation: function (log) {
    //{
    //  userOpenid: cus.openid,
    //    type: 'bill',
    //  orderNum: order.orderNum,
    //  billNum: bill.billNum,
    //  content: require('util').format('支付订单%s,余额由%s变成%s', order.totalPrice, cus.balance, newBalance)
    //}
    Log.create(log).exec(function (err,created) {

      if (err) {
        //console.log(err);
      }
    });
  },
};
